package com.test.wog.dao;

import com.test.wog.bean.Node;

import java.util.List;

/**
 * @author:LX
 * @createDate:2020-01-26
 * @desc:
 */
public interface NodeDAO {
    List<Node> getNodeByName(String name);
    //List<Node> getNodeByID(int id);
    List<Node> getNodeByType(String type);
    List<Node> getNodeByLoc(double lon, double lat);//找一个里数据库里最近的POI
    List<Node> getNodeByLocFromAmap(double lon, double lat);//根据经纬度从高德获取POI
    List<Node> getNodeByNameFromAmap(String name);//根据名称从高德获取POI


    int insertNode();
}
